/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const systemRouter = {
	path: '/system',
	component: Layout,
	redirect: '/contract/complex-table',
	name: 'venue',
	meta: {
		title: '系统设置',
		icon: 'system'
	},
	children: [{
			path: 'orderRuleForCommon',
			component: () => import('@/views/system/orderRuleForCommon'),
			name: '预约设置',
			meta: {
				title: '预约设置'
			}
		}, {
			path: 'orderRuleSettingForCommon',
			component: () => import('@/views/system/orderRuleSettingForCommon'),
			name: '预约设置',
			meta: {
				title: '预约设置',
				activeMenu: '/system/orderRuleForCommon'
			},
			hidden: true
		}, {
			path: 'orderRuleForLeague',
			component: () => import('@/views/system/orderRuleForLeague'),
			name: '团课',
			meta: {
				title: '团课',
				activeMenu: '/system/orderRuleForCommon'
			},
			hidden: true
		}, {
			path: 'orderRuleSettingForLeague',
			component: () => import('@/views/system/orderRuleSettingForLeague'),
			name: '团课预约编辑',
			meta: {
				title: '团课预约编辑',
				activeMenu: '/system/orderRuleForCommon'
			},
			hidden: true
		}, {
			path: 'orderRuleForQuality',
			component: () => import('@/views/system/orderRuleForQuality'),
			name: '精品课',
			meta: {
				title: '精品课',
				activeMenu: '/system/orderRuleForCommon'
			},
			hidden: true
		}, {
			path: 'orderRuleSettingForQuality',
			component: () => import('@/views/system/orderRuleSettingForQuality'),
			name: '精品课预约编辑',
			meta: {
				title: '精品课预约编辑',
				activeMenu: '/system/orderRuleForCommon'
			},
			hidden: true
		}, {
			path: 'orderRuleForPrivate',
			component: () => import('@/views/system/orderRuleForPrivate'),
			name: '私教课',
			meta: {
				title: '私教课',
				activeMenu: '/system/orderRuleForCommon'
			},
			hidden: true
		}, {
			path: 'orderRuleSettingForPrivate',
			component: () => import('@/views/system/orderRuleSettingForPrivate'),
			name: '私教课预约编辑',
			meta: {
				title: '私教课预约编辑',
				activeMenu: '/system/orderRuleForCommon'
			},
			hidden: true
		},

		// {
		// 	path: 'memberRemind',
		// 	component: () => import('@/views/system/memberRemind'),
		// 	name: '提醒设置',
		// 	meta: {
		// 		title: '提醒设置'
		// 	}
		// }, {
		// 	path: 'remindSetting',
		// 	component: () => import('@/views/system/remindSetting'),
		// 	name: '提醒设置',
		// 	meta: {
		// 		title: '提醒设置'
		// 	},
		// 	hidden: true
		// }, 
		{
			path: 'memberRBAC',
			component: () => import('@/views/system/memberRBAC'),
			name: '角色权限',
			meta: {
				title: '角色权限'
			}
		}, {
			path: 'roleDetail',
			component: () => import('@/views/system/roleDetail'),
			name: '角色详情',
			meta: {
				title: '角色详情'
			},
			hidden: true
		}, {
			path: 'memberBaseData',
			component: () => import('@/views/system/memberBaseData'),
			name: '基础数据',
			meta: {
				title: '基础数据'
			}
		},
		{
			path: 'operationLog',
			component: () => import('@/views/system/operationLog'),
			name: '操作日志',
			meta: {
				title: '操作日志'
			}
		},
		{
			path: 'appointmentSettings',
			component: () => import('@/views/system/headlinesSettings'),
			name: '微信端设置',
			meta: {
				title: '微信端设置'
			}
		},
		{
			path: 'headlinesSettings',
			component: () => import('@/views/system/headlinesSettings'),
			name: '头条设置',
			meta: {
				title: '头条设置',
				activeMenu: '/system/appointmentSettings'
			},
			hidden: true
		},
		{
			path: 'wxAdvertising',
			component: () => import('@/views/system/wxAdvertising'),
			name: '广告设置',
			meta: {
				title: '广告设置',
				activeMenu: '/system/appointmentSettings'
			},
			hidden: true
		},
		{
			path: 'leaveSettings',
			component: () => import('@/views/system/leaveSettings'),
			name: '会员自主请假',
			meta: {
				title: '会员自主请假',
				activeMenu: '/system/appointmentSettings'
			},
			hidden: true
		},
		{
			path: 'mcardPriceDisplaySettings',
			component: () => import('@/views/system/mcardPriceDisplaySettings'),
			name: '卡售价显示设置',
			meta: {
				title: '卡售价显示设置',
				activeMenu: '/system/appointmentSettings'
			},
			hidden: true
		},
		{
			path: 'mcardPriceDisplaySettingsEdit',
			component: () => import('@/views/system/mcardPriceDisplaySettingsEdit'),
			name: '卡售价显示设置',
			meta: {
				title: '卡售价显示设置',
				activeMenu: '/system/appointmentSettings'
			},
			hidden: true
		},
		{
			path: 'leaveSettingsEdit',
			component: () => import('@/views/system/leaveSettingsEdit'),
			name: '会员自主请假',
			meta: {
				title: '会员自主请假',
				activeMenu: '/system/appointmentSettings'
			},
			hidden: true
		},
		{
			path: 'editWXAdvertising',
			component: () => import('@/views/system/editWXAdvertising'),
			name: '广告设置',
			meta: {
				title: '广告设置',
				activeMenu: '/system/appointmentSettings'
			},
			hidden: true
		},
		{
			path: 'editHeadlinesSettings',
			component: () => import('@/views/system/editHeadlinesSettings'),
			name: '头条设置',
			meta: {
				title: '头条设置',
				activeMenu: '/system/appointmentSettings'
			},
			hidden: true
		},
		{
			path: 'templateMessage',
			component: () => import('@/views/system/templateMessage'),
			name: '微信模板消息设置',
			meta: {
				title: '微信模板消息设置'
			}
		},
		{
			path: 'pointSetting',
			component: () => import('@/views/system/pointSetting'),
			name: '积分设置',
			meta: {
				title: '积分设置'
			}
		},
		{
			path: 'editPointSetting',
			component: () => import('@/views/system/editPointSetting'),
			name: '积分设置',
			meta: {
				title: '积分设置'
			},
			hidden: true
		},
		{
			path: 'featuresSetting',
			component: () => import('@/views/system/featuresSetting'),
			name: '功能设置',
			meta: {
				title: '功能设置'
			}
		},
		{
			path: 'bodyTest',
			component: () => import('@/views/system/bodyTest'),
			name: '体测模板',
			meta: {
				title: '体测模板'
			}
		}
	]
}
export default systemRouter